/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.bodylimit.util;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

/**
 *
 * @author Jõao Paulo
 */
public class ConnectionFactory {

    public Connection getConnection() throws SQLException{
        return DriverManager.getConnection("jdbc:postgresql://localhost:5432/postgres", "postgres", "postgres");
    }
}
